import React, { Component } from 'react';
import {withRouter} from "react-router-dom"
import styles from "./search.module.scss"
class search extends Component {
    handleClick = (params) => {
        this.props.history.push("./searchChar");
    }
    
    render() {
        return (
            <div className={styles.search_input} onClick={this.handleClick}>
            <div className={styles.search_input_content}>
                搜索
            </div>
        </div>
        );
    }
}

export default withRouter(search) ;
